package com.order.api.vo.request;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "菜单保存请求")
@Data
public class MenuSaveRequest {

    @ApiModelProperty(value="主键,传为修改,不传为新增",example = "1")
    private Long id;

    @ApiModelProperty(value="菜单名称",example = "xx",required = true)
    private String menuName;

    @ApiModelProperty(value="序号",example = "xx",required = true)
    private Integer orderNo;

    @ApiModelProperty(value="父ID")
    private Long parentId;

    @ApiModelProperty(value="菜单地址",example = "xx",required = true)
    private String url;

    @ApiModelProperty(value="状态,1:启用,0:禁用")
    private Integer status;

}
